<!DOCTYPE html>
<html>
<head>
    <title>博客 应用</title>
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
</head>
<body>
<h1>文章 标题</h1>
<p>本段总结了文章的内容。</p>

<?php for ($postId = 1; $postId <= 4; $postId++): ?>
    <h2>文章 <?php echo $postId ?> 标题</h2>
    <div><?php echo (date("Y-m-d H:i:s",time())) ?></div>
    <p>总结第 <?php echo $postId ?>条的段落。</p>
    <p>
        <a href="#">Read more...</a>
    </p>
<?php endfor ?>

<h3>这部分是测试</h3>
<?php for ($id = 1;$id <= 5;$id++):?>
    <h1>我是第<?php echo $id ?>个标题</h1>
    <div><?php echo (date("Y-m-d H:i:s",time())) ?></div>
    <p>
        <a href="#">Read me...</a>
    </p><?php endfor?>
</body>
</html>